export const titles = {
	projectId: '编号',// 
	monitorName: '视频名称',// 
    protocol: '视频协议',//  a
    monitorSN: '设备编号',// 
    portSN: '通道编号',// 
	position: '位置类型',// 
    buildingId: '所在建筑',// 
    drawingId: '所属楼层',
    place:'所在位置',
    outsidePostion:'室外位置',
    markPoint:'地图标记',
    drawingPoints:'图纸标记',
    deviceId: '设备编号',// monitorSN
        channelsId: "通道编号",
	

}
export const prompt = {
	projectId:'',
    deviceId:'请输入' + titles.deviceId,
    channelsId: '请输入' + titles.channelsId,
	monitorName: '请输入' + titles.monitorName,
	protocol: '请选择' + titles.protocol,//a
	monitorSN: '请输入' + titles.monitorSN,
	portSN: '请输入' + titles.portSN,
	position: '请输入' + titles.position,
	buildingId: '请选择' + titles.buildingId,
	drawingId: '请输入' + titles.drawingId,
    place: '请输入' + titles.place,
	outsidePostion:'请输入' + titles.outsidePostion,
    markPoint:'请输入' + titles.markPoint,
    drawingPoints:'请输入' + titles.drawingPoints
}


export const defaultSearchFrom = () => {
    return {
        prodcutId:'',
        buildingId:'',
        drawingId:'',
        deviceId: '',// monitorSN
        channelsId: "",
        page: 1,
        limit: 8,
    }
}
export const defaultInfoFrom = () => {
    return {
        markPoint: {},
        deviceId: '',// 
        channelsId: "",
        url:'',
        position:1
    }
}

export const defaultInfoForm = () => {
	return {

        projectId:  null,// 
        monitorName: null,// 
        protocol: null,//  a
        monitorSN: null,// 
        deviceId:  null,// monitorSN
        channelsId:  null,
        portSN: null,// 
        position: null,// 
        buildingId: null,// 
        drawingId: null,
        place:null,
        outsidePostion:null,
        markPoint:{},
        drawingPoint:{},
		childrenbuilding:null
	}
}